package com.example.demo.controller;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;
@RestController //SpringMVC
public class HelloController {
    @RequestMapping("/hello")  //前端接口
    public String hello(){
        return "fuck you";
    }
}
